<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 200px;
            height: 50px;
            border: 1px solid red;
            /*水平对齐方式 center/left/right*/
            text-align: center;
            /*文本修饰overline/ underline/line-through/none*/
            text-decoration: line-through;
            /*通过行高控制文本垂直居中*/
            line-height: 50px;
            /*字体大小*/
            font-size: 20px;
            font-weight: bold; /*加粗*/
            font-style: italic; /*斜体*/
        }

        a {
            text-decoration: none
        }

        h1 { /*去掉加粗效果*/
            font-weight: normal;
            /*字体设置*/
            font-family: cursive;
            /*大小,字体设置*/
            font: 50px cursive, "Arial Black";


        }


    </style>
</head>
<body>
<h1>我是h1</h1>
<a href="">超链接</a>
<div>文本和字体测试</div>
<u>锅子</u>

</body>
</html>